package cn.iocoder.yudao.module.pay.controller.app.collect.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 收款订单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppPayCollectOrderPageReqVO extends PageParam {

    @Schema(description = "订单号（业务唯一标识）")
    private String orderNo;

    @Schema(description = "用户ID", example = "14736")
    private Long userId;
    private Long userName;

    @Schema(description = "关联收款信息ID", example = "29376")
    private Long collectInfoId;

    @Schema(description = "应收金额")
    private BigDecimal amount;

    @Schema(description = "实际到账金额")
    private BigDecimal actualAmount;

    @Schema(description = "手续费")
    private BigDecimal fee;

    @Schema(description = "支付凭证截图URL", example = "https://www.iocoder.cn")
    private List<String> payPicUrl;

    @Schema(description = "用户备注", example = "随便")
    private String remark;

    @Schema(description = "状态：0-待审核，1-已到账，2-审核失败", example = "2")
    private Integer status;

    @Schema(description = "审核人ID", example = "19324")
    private Long auditAdminId;
    private String auditAdminName;

    @Schema(description = "审核意见", example = "不好")
    private String auditReason;

    @Schema(description = "审核时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] auditTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}